@fz10: 10px;
@fz12: 12px;
@fz14: 14px;
@fz16: 16px;
@color-h1: #111111;
@color-h2: #656565;
@color-h3: #919191;
@color-h4: #DF0011;
@color-bg: #f3f4f5;
@theme-color: #DF0011;
page {
  font-size: @fz14;
  box-sizing: border-box;
  background-color: @color-bg;
}

view,
button,
input {
  box-sizing: border-box;
}

// main
.main {
  position: relative;
  z-index: 1;
  padding: 44px 0 12px 0;
  .pline{
    display: flex;
    font-size: @fz12;
    // padding: 12px 0;
    padding: 0 12px;
    overflow-x: auto;
    flex-wrap: wrap;
    &::-webkit-scrollbar{
      height: 0;
    }
    &__item{
      flex: 1;
      // width: 25%;
      flex-shrink: 0;
      opacity: .5;
      display: flex;
      align-items: center;
      .item{
        flex: 1;
        &__t{
          height: 28px;
          display: flex;
          align-items: flex-end;
          justify-content: center;
          position: relative;
          .icon{
            position: relative;
            bottom: 0;
            z-index: 1s;
            width: 28px;
            height: 28px;
          }
          .icon--sm{
            width: 18px;
            height: 18px;
          }
          .text{
            width: 100%;
            position: absolute;
            z-index: 2;
            left: 0;
            top: 2px;
            text-align: center;
            font-size: @fz12;
            font-weight: bold;
            color: #fff;
          }
        }
        &__c{
    
        }
        &__b{
          text-align: center;
          color: @theme-color;
          line-height: 30px;
        }
      }
    }
    &__item--done{
      opacity: 1;
    }
    &:nth-child(1){
      .pline__item:last-child .item .item__b{
        border-right: 1px solid #dddddd;
      }
    }
    &:nth-child(2){
      .pline__item:last-child .item .item__t{
        border-right: 1px solid #dddddd;
      }
      .pline__item:first-child .item .item__b{
        border-left: 1px solid #dddddd;
      }
    }
    &:nth-child(3){
      .pline__item:last-child .item .item__b{
        border-right: 1px solid #dddddd;
      }
      .pline__item:first-child .item .item__t{
        border-left: 1px solid #dddddd;
      }
    }
    &:nth-child(4){
      .pline__item:last-child .item .item__t{
        border-right: 1px solid #dddddd;
      }
    }
    .button{
      height: 28px;
      line-height: 28px;
      color: #fff;
      font-size: 12px;
      text-align: center;
      flex: 1;
      background:rgba(223,0,17,1);
      border-radius:5px;
    }
  }
}

// tabhead
.headtab {
  display: flex;
  justify-content: center;
  margin: 6px auto 12px auto;
  .head{
    height: 28px;
    display: flex;
    background: #fff;
    border-radius: 3px;
    display: flex;
    justify-content: center;
  }
  .btn {
    padding: 0 12px;
    color: rgba(243, 187, 182, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 300ms;
    &:active{
      opacity: .8;
    }
  }
  .btn--active {
    border-radius: 3px;
    background: @theme-color;
    color: #fff;
  }
  .btn2{
    font-size: @fz12;
  }
}

// tabbody
.tabbody{
  .list{
    padding: 0 12px;
  }
}

// sotre list
.wrap{
  padding: 10px 0;
  background: #fff;
  border-radius: 5px;
  margin-bottom: 10px;
  box-shadow: 0 0 10px #eee;
  .block{
    display: flex;
    flex-direction: column;
    border-left: 4px solid @theme-color;
    padding-left: 10px;
    padding-right: 10px;
    &__t{
      font-size: @fz16;
    }
    &__b{
      margin-top: 5px;
    }
    .title{
      font-size: @fz14;
    }
  }
  .sub{
    display: flex;
    line-height: 1;
    &__l{
      flex: 1;
      display: flex;
      align-items: center;
      align-items: flex-end;
    }
    &__r{
      flex-shrink: 0;
    }
    .text1{
      margin-right: 5px;
      font-size: @fz12;
      color: @color-h3;
      font-weight: 500;
    }
    .text2{
      margin-right: 5px;
      color: @color-h2;
      font-weight: bold;
    }
    .text3{
      font-size: @fz12;
      font-weight: 500;
    }
    .btn{
      height: 20px;
      line-height: 20px;
      padding: 0 10px;
      font-size: @fz12;
      color: #fff;
      background:linear-gradient(90deg,rgba(223,0,17,1),rgba(230,81,81,1));
      border-radius:3px;
      transition: opacity 300ms;
      &:before, &:after{
        content: none;
      }
      &:active{
        opacity: .8;
      }
    }
  }
  .bold{
    font-weight: bold;
  }
}

// search-wrap
.search-wrap{
  padding:  0 0 12px;
}

// hairline
.hairline{
  width: 100%;
  height: 1px;
  position: relative;
  background: #dddddd;
  // &::after{
  //   content: "";
  //   position: absolute;
  //   left: 0;
  //   bottom: 0;
  //   width: 200%;
  //   height: 1px;
  //   transform: scale(.5);
  //   transform-origin: left bottom;
  //   background: #dddddd;
  // }
}

// dialog c
.c{
  padding: 30px;
  display: flex;
  justify-content: center;
  text-align: center;
}
// dialog b
.b .opt{
  display: flex;
  &__item{
    padding: 12px 0;
    flex: 1;
    position: relative;
    line-height: 20px;
    text-align: center;
    font-size: @fz14;
    color: @theme-color;
    transition: opacity 300ms;
    &:active{
      opacity: .8;
    }
  }
  &__item--gray{
    color: @color-h3;
  }
  &__split{
    height: 20px;
    width: 1px;
    margin-top: 12px;
    background: rgba(221,221,221,1);
  }
}


.status{
  padding-bottom: 12px;
}